<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>

<div class="container" style="width:600px;height:400px;padding-top:100px">
    <div class="jumbotron">
			<form action="<?php echo Yii::app()->request->baseUrl; ?>/site/login" method="post" accept-charset="utf-8" role="form">
				<div class="container">
						<h2>登录</h2>
						<table class="table">  
							<tr>
								<td colspan="2"><input type="text" name="account" class="form-control" placeholder="账号" required title="请输入账号"/></td>
							</tr>  
							<tr>
								<td colspan="2"><input type="password" name="password" class="form-control" placeholder="密码" required title="请输入密码"/></td>
							</tr>  
							<tr>
								<td><input class="btn btn-primary" type="submit" role="button" value="登录"/></td>
								<td><a class="btn btn-success" href="<?php echo Yii::app()->request->baseUrl; ?>/site/register" role="button">注册</a></td> 
								<td><a class="btn btn-info" href="<?php echo Yii::app()->request->baseUrl; ?>/sudoku/trysudoku" role="button">试玩一下</a></td>	
							</tr>  
						</table>  
				</div>
			</form>
	</div>
</div>